package com.whut.gkd.bean;

public class Good {
    private int goodId;
    private String goodName;
    private String goodDescription;
    private int goodNum;
    private double goodPrice;

    public Good() {
    }

    public Good(int goodId, String goodName, String goodDescription, int goodNum, double goodPrice) {
        this.goodId = goodId;
        this.goodName = goodName;
        this.goodDescription = goodDescription;
        this.goodNum = goodNum;
        this.goodPrice = goodPrice;
    }

    public int getGoodId() {
        return goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodDescription() {
        return goodDescription;
    }

    public void setGoodDescription(String goodDescription) {
        this.goodDescription = goodDescription;
    }

    public int getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(int goodNum) {
        this.goodNum = goodNum;
    }

    public double getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(double goodPrice) {
        this.goodPrice = goodPrice;
    }

    @Override
    public String toString() {
        return "Good{" +
                "goodId=" + goodId +
                ", goodName='" + goodName + '\'' +
                ", goodDescription='" + goodDescription + '\'' +
                ", goodNum=" + goodNum +
                ", goodPrice=" + goodPrice +
                '}';
    }
}
